package com.ruoyi.xst.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门禁管理对象 access_control
 * 
 * @author Rambo
 * @date 2024-11-21
 */
public class AccessControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 门牌ID */
    @Excel(name = "门牌ID")
    private Long hardwareId;

    /** 更新人 */
    private String udpateBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setHardwareId(Long hardwareId) 
    {
        this.hardwareId = hardwareId;
    }

    public Long getHardwareId() 
    {
        return hardwareId;
    }
    public void setUdpateBy(String udpateBy) 
    {
        this.udpateBy = udpateBy;
    }

    public String getUdpateBy() 
    {
        return udpateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("hardwareId", getHardwareId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("udpateBy", getUdpateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
